import requests

def get_forcompany(id):
    headers = {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "content-type": "application/json",
        "device": "0",
        "device-id": "BXS2X3VLnsdCHHbfXlEeSRAyL/Pi/qNmkT/7WgW+OCaqEaCMgbB8Ni8IDpArhHLwKCyQQVwMEeYT/CuWg1JviTA==",
        "eagleeye-pappname": "fyw9n1jhpf@e3fdbf165821069",
        "eagleeye-sessionid": "z8mRe2bplLX78OzO814q09XgCn67",
        "eagleeye-traceid": "5d3f45141729648356913100721069",
        "h5version": "v1.0.0",
        "origin": "https://zhengce.qizhidao.com",
        "priority": "u=1, i",
        "referer": "https://zhengce.qizhidao.com/",
        "sec-ch-ua": "\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\"",
        "sec-ch-ua-mobile": "?0",
        "sec-ch-ua-platform": "\"Windows\"",
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "same-site",
        "signature": "bbe8c6b668cbcbbebd5d1bdc603e39cc.2Q2cSG",
        "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36",
        "user-agent-web": "X/95abcb54432560b72a9f88fe3f8bbe83"
    }
    cookies = {
        "wz_uuid": "X%2F437a7e241eca64bfd1ee2e06cd96fc9d",
        "sensorsdata2015jssdkchannel": "%7B%22prop%22%3A%7B%22_sa_channel_landing_url%22%3A%22%22%7D%7D",
        "Hm_lvt_9ea3e7293b7c088e0d2c88874b63e7dd": "1726293439,1728625449",
        "Hm_lpvt_9ea3e7293b7c088e0d2c88874b63e7dd": "1728625449",
        "HMACCOUNT": "EA447ECC51709984",
        "s_webp": "s",
        "SSO_SESSION_ID": "YTY1NDM2MjMtODg2OC00OGYzLWFkZmUtMmZjOWI3MTgwYzg3",
        "ticket": "eyJhbGciOiJIUzUxMiJ9.ZXlKNmFYQWlPaUpFUlV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1BNQQ.HSCVPYCpRHWBQhF5GKVRGrutjwphhlSAR0nUNmPMlC6V3oLU1uMiEgjohx6KwCapXZiIxhgKJA9D0in9-HJNfw",
        "sensorsdata2015jssdkcross": "%7B%22distinct_id%22%3A%227610083e9aaf4acc9efc9cd64257b1a3%22%2C%22first_id%22%3A%2219149dbbd7f685-04acea045abdc54-26001e51-2073600-19149dbbd802ef%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E8%87%AA%E7%84%B6%E6%90%9C%E7%B4%A2%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC%22%2C%22%24latest_referrer%22%3A%22https%3A%2F%2Fcn.bing.com%2F%22%7D%2C%22identities%22%3A%22eyIkaWRlbnRpdHlfY29va2llX2lkIjoiMTkxNDlkYmJkN2Y2ODUtMDRhY2VhMDQ1YWJkYzU0LTI2MDAxZTUxLTIwNzM2MDAtMTkxNDlkYmJkODAyZWYiLCIkaWRlbnRpdHlfbG9naW5faWQiOiI3NjEwMDgzZTlhYWY0YWNjOWVmYzljZDY0MjU3YjFhMyJ9%22%2C%22history_login_id%22%3A%7B%22name%22%3A%22%24identity_login_id%22%2C%22value%22%3A%227610083e9aaf4acc9efc9cd64257b1a3%22%7D%2C%22%24device_id%22%3A%2219149dbbd7f685-04acea045abdc54-26001e51-2073600-19149dbbd802ef%22%7D",
        "accessToken": "eyJhbGciOiJIUzUxMiJ9.ZXlKNmFYQWlPaUpFUlVZaUxDSmhiR2NpT2lKa2FYSWlMQ0psYm1NaU9pSkJNVEk0UTBKRExVaFRNalUySW4wLi5JVjBwdi1DYlo5Q1poZGV0TEh1OWR3LmQtM3pHemVZcHVzM2JxQy1xS1RYeTBDZmVlOVdIRGRyVDRmaTR0UDRrT0w1YjhKMzR3UnRJazJlckIyR0I5bGEtOG1IMjY5QVVxODdaN3JDb1VIUS1LMWJVLWdsX043OXlLZ1hmMHZueTYtV3p1ZExBY0RHbGNSTXMybHNhWlgtNDFGcmFMb2c2Sk5QQjZJS2dEY3lwNGpPS2Fmdkw0MGV5ODg3T1hyY0JFOWVaY0NvWnRWMHVMM0VQRDdKa0dLb3Q2UmFyMUQ0QnNJamZNQl9CUERfdnZ0T0hEYW9kb041Mjl0d2tseFpTOWsucDJlMmNLaG44XzBBZndqQlJ2d1BNQQ.HSCVPYCpRHWBQhF5GKVRGrutjwphhlSAR0nUNmPMlC6V3oLU1uMiEgjohx6KwCapXZiIxhgKJA9D0in9-HJNfw",
        "creditNo": "%22%22",
        "param_sign": "U0DTwM",
        "acw_tc": "ad9964e91728627249916107821069e79958f81267e80538aee3498680f93b",
        "x-web-ip": "114.216.162.116, 47.121.110.220, 120.78.44.164, 100.121.108.27"
    }
    url = "https://app.qizhidao.com/qzd-bff-marketing/qzd/v2/marketing/match/forCompany"
    params = {
        "creditCode": id
    }
    response = requests.get(url, headers=headers, cookies=cookies, params=params)

    print(response.json())
    # print(response)
    return response.json()
id='91340500150660397M'
get_forcompany(id)